{% load myfilters %}
{% load myfilter %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{{ title|myreplace:"首页:我的首页"}}</title>
</head>
<body>
<h1>type_list{{ type_list  }}</h1>
<h1>name_list{{ name_list  }}</h1>
<h1>object_list{{ object_list  }}</h1>


<p>首字母{{ strs|mycaptalize }}</p>

{% for pro in type_list %}
<p>{{ pro.id }}</p>
<p>{{ pro.name }}</p>
<p>{{ pro.type }}</p>
    <hr>
{% endfor %}
</body>
</html>